package com.zgf.lineTable;

/**
 * @author zgf
 * @date 2019/8/26 19:42
 */
public class TestArrayList {


    public static void main(String[] args) {
        List list=new ArrayList();

        list.add(1);
        list.add(2);
        list.add(3);
        list.add(4);
        list.add(5);


        System.out.println(list.remove(3));
        System.out.println("是否为空："+list.isEmpty());
        System.out.println("ArrayList的长度是:"+list.size());
        System.out.println(list.toString());



    }


}
